DevForce Help Reference
GetRelatedEntity<T>(EntityAspect,EntityRelationLink,QueryStrategy) Method


Returns the related entity via a IdeaBlade.EntityModel.EntityRelationLink using the specified QueryStrategy.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function GetRelatedEntity(Of T As EntityAspect)( _
   ByVal entity As EntityAspect, _
   ByVal relationLink As EntityRelationLink, _
   ByVal strategy As QueryStrategy _
) As T
'Usage
 
Dim entity As EntityAspect
Dim relationLink As EntityRelationLink
Dim strategy As QueryStrategy
Dim value As T
 
value = EntityAspectExtensions.GetRelatedEntity(Of T)(entity, relationLink, strategy)

Parameters

entity
relationLink
strategy

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityAspectExtensions Class
EntityAspectExtensions Members
Overload List

Send Feedback